package cntr.memoryspace;


/**
 * Created by Thanh-Trung Pham.
 */
public abstract class MemoryObject {
    private String m_strName;
    private Object m_oValue;

    public MemoryObject(String name, Object value) {
        this.m_strName = name;
        m_oValue = value;
    }

    public Object getValue() {
        return m_oValue;
    }

    public String getName(){
        return m_strName;
    }

    @Override
    public String toString(){
        return m_strName + ": " + m_oValue;
    }
}
